package com.example.homecunter.news.newsentity;

import java.io.Serializable;
import java.util.List;


public class NewsEntity {

        /**
         * id : 12600
         * newscode : 465fa9e4a44311e98aeafc7774fd634d
         * newstypeid : 1
         * sourcesiteid : 1
         * sourcesitename : 今日头条
         * title : 《魔域》怎么就成了赌博工具？
         * description : 6月，Gamewower看到一则新闻，合肥警方抓获了一个高达78人组成的赌博犯罪团伙。利用游戏内的“打怪兽”、“合成装备”、“猜坐标”等游戏环节进行网络赌博，涉案赌资高达1.28亿元。
         * auth : Gamewower
         * sourceurl : /group/6712172682189734404/
         * mainimgurl : http://p3.pstatp.com/list/pgc-image/94f918e5320347c98bc5c71579713fd8
         * istop : 0
         */

        private Integer id;
        private String newscode;
        private Integer newstypeid;
        private Integer sourcesiteid;
        private String sourcesitename;
        private String title;
        private String description;
        private String auth;
        private String sourceurl;
        private String mainimgurl;
        private String istop;

        public Integer getId() {
                return id;
        }

        public void setId(Integer id) {
                this.id = id;
        }

        public String getNewscode() {
                return newscode;
        }

        public void setNewscode(String newscode) {
                this.newscode = newscode;
        }

        public Integer getNewstypeid() {
                return newstypeid;
        }

        public void setNewstypeid(Integer newstypeid) {
                this.newstypeid = newstypeid;
        }

        public Integer getSourcesiteid() {
                return sourcesiteid;
        }

        public void setSourcesiteid(Integer sourcesiteid) {
                this.sourcesiteid = sourcesiteid;
        }

        public String getSourcesitename() {
                return sourcesitename;
        }

        public void setSourcesitename(String sourcesitename) {
                this.sourcesitename = sourcesitename;
        }

        public String getTitle() {
                return title;
        }

        public void setTitle(String title) {
                this.title = title;
        }

        public String getDescription() {
                return description;
        }

        public void setDescription(String description) {
                this.description = description;
        }

        public String getAuth() {
                return auth;
        }

        public void setAuth(String auth) {
                this.auth = auth;
        }

        public String getSourceurl() {
                return sourceurl;
        }

        public void setSourceurl(String sourceurl) {
                this.sourceurl = sourceurl;
        }

        public String getMainimgurl() {
                return mainimgurl;
        }

        public void setMainimgurl(String mainimgurl) {
                this.mainimgurl = mainimgurl;
        }

        public String getIstop() {
                return istop;
        }

        public void setIstop(String istop) {
                this.istop = istop;
        }

        public NewsEntity() {
        }

        public NewsEntity(Integer id, String newscode, Integer newstypeid, Integer sourcesiteid, String sourcesitename, String title, String description, String auth, String sourceurl, String mainimgurl, String istop) {
                this.id = id;
                this.newscode = newscode;
                this.newstypeid = newstypeid;
                this.sourcesiteid = sourcesiteid;
                this.sourcesitename = sourcesitename;
                this.title = title;
                this.description = description;
                this.auth = auth;
                this.sourceurl = sourceurl;
                this.mainimgurl = mainimgurl;
                this.istop = istop;
        }
}
